package org.misalen.web.server.forms.driver;

import org.misalen.annotations.ModelComment;
import org.misalen.validate.annotation.Length;
import org.misalen.validate.annotation.MobilePhone;
import org.misalen.validate.annotation.Required;

public class DriverModifyForm {
	@MobilePhone
	@Required
	@ModelComment(value = "手机号")
	private String mobile;
	
	@Length(max = 10,min = 1)
	@ModelComment(value = "用户名")
	private String userName;

	@Required
	@ModelComment("头枕机码")
	private String headrestCode;
	
	@Required
	@ModelComment("后座机码")
	private String backseatCode;
	@Required
	@ModelComment("车牌号")
	private String vehicleNumber;
	@Required
	@ModelComment("车型")
	private String vehicleModel;
	
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getHeadrestCode() {
		return headrestCode;
	}
	public void setHeadrestCode(String headrestCode) {
		this.headrestCode = headrestCode;
	}
	public String getBackseatCode() {
		return backseatCode;
	}
	public void setBackseatCode(String backseatCode) {
		this.backseatCode = backseatCode;
	}
	public String getVehicleNumber() {
		return vehicleNumber;
	}
	public void setVehicleNumber(String vehicleNumber) {
		this.vehicleNumber = vehicleNumber;
	}
	public String getVehicleModel() {
		return vehicleModel;
	}
	public void setVehicleModel(String vehicleModel) {
		this.vehicleModel = vehicleModel;
	}
}
